﻿namespace BlockeyEssentials
{
    public class PlayerInfo
    {
        public PlayerInfo(string oName, int oNumber)
        {
            _Name = oName;
            _IsReady = false;
            _Transition = 0.0f;
            _PlayerNumber = oNumber;
        }

        #region Methods

        public void ToggleReady()
        {
            _IsReady = !_IsReady;
        }

        public string DefaultName
        {
            get { return "PLAYER " + _PlayerNumber; }
        }

        #endregion

        public int _PlayerNumber;
        public float _Transition;
        public bool _IsReady;
        public string _Name;

    }
}
